<!--
 * @Author: 刘强
 * @Date: 2021-10-01 14:51:56
 * @LastEditTime: 2021-10-02 00:23:06
 * @LastEditors: your name
 * @Description: In User Settings Edit
 * @FilePath: \snake\src\index.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>贪食蛇</title>
</head>
<body>
  <!-- 创建游戏主容器 -->
  <div id="main">
    <!-- 设置游戏舞台 -->
    <div id="stage">
      <!-- 设置🐍 -->
      <div id="snake">
        <div></div>
      </div>

      <!-- 设置食物 -->
      <div id="food">
        <div></div>
        <div></div>
        <div></div>
        <div></div>
      </div>
    </div>

    <!-- 设置游戏计分牌 -->
    <div id="score-panel">
      <div>
        SCORE:<span id="score">0</span>
      </div>
      <div>
        level:<span id="level">1</span>
      </div>
    </div>
  </div>
</body>
</html>